
*********************************************************************************************************
* Individual-level differences in church attendance in 1990, Table A25
* Charnysh and Schaub, Migration and Social Change: Evidence from post-WWII Displacement in Germany, JOP
*********************************************************************************************************


* data
use "individual_data/ltw90_bayern_municip.dta", clear

* controls
global controls_pretreat age gender relfrac1939 prefugees1950 sagri1939 sfemale1939 lndistBorderEast diststation1950 popdens1939 lnpop1939 

* table
eststo churchfreq_naive: 	reg churchfreq expellee, cluster(ags)
eststo churchfreq_controls: reg churchfreq expellee $controls_pretreat, cluster(ags)
eststo churchfreq_relfrac: 	reg churchfreq expellee $controls_pretreat relfrac_39_50, cluster(ags)

esttab churchfreq_*, unstack b(%9.2f) varwidth(45)  wrap star(* 0.1 ** 0.05 *** 0.01) booktabs label ///
		 sfmt(%9.2f) se compress nogaps mlabels(,none) stats(N, fmt(%9.0gc) label("N")) replace 


